package top.software.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @ClassName: User
 * @Author: Amosen
 * @Since: 2021/4/17
 */
public class User {

    private String account;

    @JsonIgnore
    private String password;

    private int auth;

    public User() {
    }

    public User(String account, String password, int auth) {
        this.account = account;
        this.password = password;
        this.auth = auth;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getAuth() {
        return auth;
    }

    public void setAuth(int auth) {
        this.auth = auth;
    }

    @Override
    public String toString() {
        return "User{" +
                "account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", auth=" + auth +
                '}';
    }
}
